<!DOCTYPE HTML>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <title>项目详情</title>
    <meta name="viewport" content="width=device-width,initial-scale=1.0,user-scalable=no">
    <link rel="icon" type="image/x-icon" href="/cctv/favicon.ico"/>
    <link rel="stylesheet" type="text/css" href="/cctv/css/sitework/findinfo.css"/>
    <script type="text/javascript" src="/cctv/js/jquery-1.9.1.min.js"></script>
    <script type="text/javascript" src="/cctv/js/sitework/findinfo.js"></script>
</head>
<body>
<input type="hidden" id="id" th:value="${param.id}"/>
<div id="menu"><input type="button" value="Back"/></div>
<table id="table1">
    <colgroup>
        <col width="20%"/>
        <col width="30%"/>
        <col width="20%"/>
        <col width="30%"/>
    </colgroup>
    <tr>
        <td align="right">Project No：</td>
        <td class="cell" th:text="${project.name}"></td>
        <td align="right">Company Name：</td>
        <td class="cell" th:text="${project.client}"></td>
    </tr>
    <tr>
        <td height="40px" colspan="4"></td>
    </tr>
    <tr>
        <td align="right">Standrd：</td>
        <td class="cell" th:text="${project.standard}"></td>
        <td align="right">Operator：</td>
        <td class="cell" th:text="${project.operator}"></td>
    </tr>
</table>
<div id="title">
    <span>Pipe List</span>
    <input type="button" value="+ New"/>
</div>
<table id="table2">
    <thead>
    <tr>
        <th width="5%">No</th>
        <th width="25%">Work Order No</th>
        <th width="25%">Start Manhole</th>
        <th width="25%">Finish Manhole</th>
        <th width="20%">Operator</th>
    </tr>
    </thead>
    <tbody>
    <tr th:each="pipe:${pipes}" th:id="${pipe.id}">
        <td th:text="${pipe.no}"></td>
        <td th:text="${pipe.workorder}"></td>
        <td th:text="${pipe.smanholeno}"></td>
        <td th:text="${pipe.fmanholeno}"></td>
        <td>
            <input type="button" value="Edit" style="background-color: #2CACF1;"/>
            <input type="button" value="Del" style="background-color: #FF0000;"/>
        </td>
    </tr>
    </tbody>
</table>
<div th:if="${#lists.isEmpty(pipes)}" id="null">暂无数据，先去一段添加管据吧</div>
</body>
</html>
